<div class="container">
    <div class="top">
        <h1 class="page__title" style="background-color:#479de6">切換案場<span id="PageBack" class="back">返回</span><a
                class="home fa fa-home ajax-page" id="home" href=".html"></a></h1>
    </div>
    <div class="page" id="page" style="background-color:#ffffff;">
        <div class="pagebg"></div>
        <div class="pagemain">
            <div id="view104677" class="" style="padding: 5px; margin: 5px;">
                <div class="">
                    <p style="text-align: center;"><span style="font-family: 微软雅黑, "><strong>切換案場</strong></span></p>
                </div>
                <div style="height: 100px">
                    <form method="post" role="form" action="">

                        <div class="weui-search-bar__form">
                            <div class="weui-search-bar__box">
                                <i class="weui-icon-search"></i>
                                <input type="search" required="" placeholder="請輸入案場名稱" name="name" value="{$name}"
                                       class="weui-search-bar__input"/>
                            </div>
                        </div>

                        <div class="col-xs-12" data-toggle="cxselect" data-selects="xianshi,xzq">
                            <div class="col-xs-6">
                                <select class="xianshi form-control" name="xianshi"
                                        data-url="home/cxselect?type=xianshi">
                                    <option value="{$xianshi}" selected>{$xianshi}</option>
                                </select>
                            </div>
                            <div class="col-xs-6">
                                <select class="xzq form-control" value="{$xzq}" name="xzq"
                                        data-url="home/cxselect?type=xzq">
                                    <option value="{$xzq}" selected>{$xzq}</option>
                                </select>
                            </div>
                            <input type="hidden" class="operate" data-name="xianshi" value="="/>
                            <input type="hidden" class="operate" data-name="xzq" value="="/>
                        </div>
                        <div style="height: 40px">
                        </div>
                        <div class="col-xs-12  col-xs-offset-4">
                            <button type="submit" class="btn btn-success">提交</button>
                            <button type="reset" class="btn btn-default">重置</button>
                        </div>

                    </form>
                </div>

                {foreach name="anchanglist" item="vo"}
                <div class="" style="border-width: 1px; border-style: solid; border-color: rgb(63, 92, 166); border-radius: 5px; padding: 5px; margin: 5px;">
                    <a data-index="2699330" id="datatemplate{$vo.id}" page="cbzy" href="{:url('home/cbzy').'?anchang_id='.$vo.id}" style="" class="weui-cell weui-cell_access">
                        <div class="weui-panel weui-panel_access">
                        <div class="weui-panel__hd nav-black">
                            <div class="weui-panel__title">
                                {$vo.name}
                            </div>
                            <div class="weui-panel__tools">
                                <div class="actions449386 hide" data-position="Up" data-effect="bounce">
                                    <div class="weui-actionsheet__title">
                                        <div class="weui-actionsheet__title-text">
                                            {$vo.name}
                                        </div>
                                    </div>
                                </div>
                            </div>
                        </div>
                        <div class="weui-panel__bd" id="pandel_bd449386">
                            <div class="">
                                <span style="font-family: 微软雅黑, &quot;Microsoft YaHei&quot;; font-size: 12px;">案場編號: &nbsp; {$vo.remark}</span>
                            </div>
                            <div class="">
                                <span style="font-family: 微软雅黑, &quot;Microsoft YaHei&quot;; font-size: 12px;">地址: &nbsp; {$vo.addr}</span>
                            </div>
                        </div>
                    </div>
                    </a>
                </div>
                {/foreach}

            </div>
            <div class="weui-tabbar .tabbar970785" id="tabbar970785" style="width: 100%;">
                <a href="{:url('home/index')}" page="index" class="weui-tabbar__item  "> <img src="__CDN__/assets/images/icon1c.png" img="__CDN__/assets/images/icon1c.png" selectimg="__CDN__/assets/images/icon1.png" alt="" class="weui-tabbar__icon" style="" /> <p class="weui-tabbar__label weui-tabbar__label281124">首頁</p> </a>
                <a href="{:url('home/cbzy')}" page="empty" class="weui-tabbar__item -page  weui-bar__item_on "> <img src="__CDN__/assets/images/icon2.png" img="__CDN__/assets/images/icon2c.png" selectimg="__CDN__/assets/images/icon2.png" alt="" class="weui-tabbar__icon" style="" /> <p class="weui-tabbar__label weui-tabbar__label281124">抄表作業</p> </a>

                {if $isanchanguser}
                <a href="{:url('home/anchang').'?anchang_id='.$anchangid}" page="anchang" class="weui-tabbar__item  "> <img src="__CDN__/assets/images/icon_purchase04.png" img="__CDN__/assets/images/icon_purchase04.png" selectimg="__CDN__/assets/images/icon_purchase04_pressed.png" alt="" class="weui-tabbar__icon" style="" /> <p class="weui-tabbar__label weui-tabbar__label281124">案場</p> </a>
                {else}
                <a href="{:url('home/anchanglist')}" page="anchanglist" class="weui-tabbar__item  "> <img src="__CDN__/assets/images/icon_purchase04.png" img="__CDN__/assets/images/icon_purchase04.png" selectimg="__CDN__/assets/images/icon_purchase04_pressed.png" alt="" class="weui-tabbar__icon" style="" /> <p class="weui-tabbar__label weui-tabbar__label281124">案場</p> </a>
                {/if}
                <a href="{:url('user/profile')}" page="account" class="weui-tabbar__item "> <img src="__CDN__/assets/images/icon3c.png" img="__CDN__/assets/images/icon3c.png" selectimg="__CDN__/assets/images/icon3.png" alt="" class="weui-tabbar__icon" style="" /> <p class="weui-tabbar__label weui-tabbar__label281124">帳號</p> </a>

                <style type="text/css">
                    .tabbar970785 {
                    }

                    .weui-tabbar__label970785 {
                        color: #999999 !important;
                    "

                    }

                    .weui-tabbar__item.weui-bar__item_on .weui-tabbar__label970785 {
                        color: #09bb07 !important;
                    }
                </style>
            </div>
        </div>
    </div>
</div>
